package AnimalDemo;

public class Flog extends Animal implements ISwimjump {
    public Flog(String name) {
        super(name);
    }

    @Override
    public void eat() {
        System.out.println("吃昆虫");
    }

    @Override
    public void SWJ() {
        System.out.println("会游会跳");
    }

    @Override
    public void jump() {
        System.out.println("青蛙跳");
    }

    @Override
    public void swim() {
        System.out.println("青蛙游");
    }
}
